#pragma once

#include <list>
#include <string>
#include <conio.h>
#include <Windows.h>
using namespace std;
#include "SDL.h"
#include "SDL_ttf.h"
#include "SDL_image.h"


SDL_Surface* init(SDL_Surface* screen, int SCREEN_WIDTH, int SCREEN_HEIGHT, int SCREEN_BPP);
SDL_Surface* load_image(string sFileName, SDL_Color* key);
SDL_Surface* loadFile(string fileName);
void apply_surface(int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip);
void draw_tile(SDL_Surface* screen, SDL_Surface* source, SDL_Rect* box);